package com.liy.cloud.common.trade.entity;

import java.io.Serializable;

/**
 * 设备灰交易信息表实体类 作者: 日期：2018-08-12 17:18:14 描述：
 */
public class TradeUnconfirmed extends TradeComm implements Serializable {

	private static final long serialVersionUID = 1L;

	/*
	 * 卡号
	 */
	private String cardId;

	/*
	 * 交易时间
	 */
	private String tradeTime;

	/*
	 * 卡序号
	 */
	private Long cardSeq;

	/*
	 * 终端交易编号
	 */
	private String deviceId;

	/*
	 * TAC码
	 */
	private String tac;

	/*
	 * 卡类型编码
	 */
	private String cardCode;

	/*
	 * 交易类型编码
	 */
	private String tradeCode;

    // 交易类型编码-名称
    protected String tradeCodeName;

	/*
	 * 票卡余额
	 */
	private Long balance;

	/*
	 * 交易金额
	 */
	private Long tradeMoney;

	/*
	 * 交易值
	 */
	private Long tradeValue;

	/*
	 * 押金
	 */
	private Long deposit;

	/*
	 * 费用
	 */
	private Long cost;

	/*
	 * 物理介质
	 */
	private String media;

	/*
	 * 交易小类
	 */
	private String tradeSub;

	/*
	 * 交易站点
	 */
	private String tradeAddress;

	/*
	 * 接收时间
	 */
	private String recvTime;

    protected String queryStartTime;  // 条件查询 开始时间
    protected String queryEndTime;    // 条件查询 结束时间


	/*
	 * 终端交易序号
	 */
	private Long deviceSeq;

	/*
	 * 票卡物理号
	 */
	private String physicalId;

	/*
	 * SAM卡卡号
	 */
	private String samcardId;

	/*
	 * SAM卡卡序号
	 */
	private Long samcardSeq;

	/**
	 * 默认构造方法
	 **/
	public TradeUnconfirmed() {
		super();
	}

	/**
	 * getger和setter方法
	 */

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getTradeTime() {
		return tradeTime;
	}

	public void setTradeTime(String tradeTime) {
		this.tradeTime = tradeTime;
	}

	public Long getCardSeq() {
		return cardSeq;
	}

	public void setCardSeq(Long cardSeq) {
		this.cardSeq = cardSeq;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getTac() {
		return tac;
	}

	public void setTac(String tac) {
		this.tac = tac;
	}

	public String getCardCode() {
		return cardCode;
	}

	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}

	public String getTradeCode() {
		return tradeCode;
	}

	public void setTradeCode(String tradeCode) {
		this.tradeCode = tradeCode;
	}

	public Long getBalance() {
		return balance;
	}

	public void setBalance(Long balance) {
		this.balance = balance;
	}

	public Long getTradeMoney() {
		return tradeMoney;
	}

	public void setTradeMoney(Long tradeMoney) {
		this.tradeMoney = tradeMoney;
	}

	public Long getTradeValue() {
		return tradeValue;
	}

	public void setTradeValue(Long tradeValue) {
		this.tradeValue = tradeValue;
	}

	public Long getDeposit() {
		return deposit;
	}

	public void setDeposit(Long deposit) {
		this.deposit = deposit;
	}

	public Long getCost() {
		return cost;
	}

	public void setCost(Long cost) {
		this.cost = cost;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}

	public String getTradeSub() {
		return tradeSub;
	}

	public void setTradeSub(String tradeSub) {
		this.tradeSub = tradeSub;
	}

	public String getTradeAddress() {
		return tradeAddress;
	}

	public void setTradeAddress(String tradeAddress) {
		this.tradeAddress = tradeAddress;
	}

	public String getRecvTime() {
		return recvTime;
	}

	public void setRecvTime(String recvTime) {
		this.recvTime = recvTime;
	}

	public Long getDeviceSeq() {
		return deviceSeq;
	}

	public void setDeviceSeq(Long deviceSeq) {
		this.deviceSeq = deviceSeq;
	}

	public String getPhysicalId() {
		return physicalId;
	}

	public void setPhysicalId(String physicalId) {
		this.physicalId = physicalId;
	}

	public String getSamcardId() {
		return samcardId;
	}

	public void setSamcardId(String samcardId) {
		this.samcardId = samcardId;
	}

	public Long getSamcardSeq() {
		return samcardSeq;
	}

	public void setSamcardSeq(Long samcardSeq) {
		this.samcardSeq = samcardSeq;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public TradeUnconfirmed init(String messag) {
		return this;
	}

    @Override
    public String getQueryStartTime() {
        return queryStartTime;
    }

    @Override
    public void setQueryStartTime(String queryStartTime) {
        this.queryStartTime = queryStartTime;
    }

    @Override
    public String getQueryEndTime() {
        return queryEndTime;
    }

    @Override
    public void setQueryEndTime(String queryEndTime) {
        this.queryEndTime = queryEndTime;
    }

    @Override
    public String getTradeCodeName() {
        return tradeCodeName;
    }

    @Override
    public void setTradeCodeName(String tradeCodeName) {
        this.tradeCodeName = tradeCodeName;
    }
}